import { createRouter, createWebHistory } from 'vue-router';
import SolarSystem from '../components/SolarSystem.vue';
import CarRoad from '../components/CarRoad.vue';
import EarthPointCloud from '../components/EarthPointCloud.vue';
import HouseModel from '../components/HouseModel.vue';

const routes = [
  {
    path: '/',
    name: 'Home',
    component: SolarSystem,
  },
  {
    path: '/solar-system',
    name: 'SolarSystem',
    component: SolarSystem,
  },
  {
    path: '/car-road',
    name: 'CarRoad',
    component: CarRoad,
  },
  {
    path: '/earth-point-cloud',
    name: 'EarthPointCloud',
    component: EarthPointCloud,
  },
  {
    path: '/house-model',
    name: 'HouseModel',
    component: HouseModel,
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;